<?php

class ViewHomeTemplatesConfig extends BaseModel
{
    public $res;
    public $expire;

    public function getSource()
    {
        return "view_home_templates_config";
    }


    public function find_by_id($id){
        $result = $this->findFirstById($id);
        if($result){
            $result = $result->toarray();
        }else{
            $result =[];
        }
        return $result;
    }


}
